home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / energize / energize-advice.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  7.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 33 3a 35 39 3a 33 | 33 20 31 39 39 35 0a 3b | 13:59:3|3 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 65 6e | 65 72 67 69 7a 65 2f 65 |/lisp/en|ergize/e|
|00000090| 6e 65 72 67 69 7a 65 2d | 61 64 76 69 63 65 2e 65 |nergize-|advice.e|
|000000a0| 6c 0a 3b 3b 3b 20 65 6d | 61 63 73 20 76 65 72 73 |l.;;; em|acs vers|
|000000b0| 69 6f 6e 20 31 39 2e 31 | 33 20 58 45 6d 61 63 73 |ion 19.1|3 XEmacs|
|000000c0| 20 4c 75 63 69 64 2e 0a | 3b 3b 3b 20 62 79 74 65 | Lucid..|;;; byte|
|000000d0| 63 6f 6d 70 20 76 65 72 | 73 69 6f 6e 20 32 2e 32 |comp ver|sion 2.2|
|000000e0| 35 3b 20 31 2d 53 65 70 | 2d 39 34 2e 0a 3b 3b 3b |5; 1-Sep|-94..;;;|
|000000f0| 20 6f 70 74 69 6d 69 7a | 61 74 69 6f 6e 20 69 73 | optimiz|ation is|
|00000100| 20 6f 6e 2e 0a 3b 3b 3b | 20 74 68 69 73 20 66 69 | on..;;;| this fi|
|00000110| 6c 65 20 75 73 65 73 20 | 6f 70 63 6f 64 65 73 20 |le uses |opcodes |
|00000120| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 65 78 69 |which do| not exi|
|00000130| 73 74 20 69 6e 20 45 6d | 61 63 73 20 31 38 2e 0a |st in Em|acs 18..|
|00000140| 0a 28 69 66 20 28 61 6e | 64 20 28 62 6f 75 6e 64 |.(if (an|d (bound|
|00000150| 70 20 27 65 6d 61 63 73 | 2d 76 65 72 73 69 6f 6e |p 'emacs|-version|
|00000160| 29 0a 09 20 28 6f 72 20 | 28 61 6e 64 20 28 62 6f |).. (or |(and (bo|
|00000170| 75 6e 64 70 20 27 65 70 | 6f 63 68 3a 3a 76 65 72 |undp 'ep|och::ver|
|00000180| 73 69 6f 6e 29 20 65 70 | 6f 63 68 3a 3a 76 65 72 |sion) ep|och::ver|
|00000190| 73 69 6f 6e 29 0a 09 20 | 20 20 20 20 28 73 74 72 |sion).. | (str|
|000001a0| 69 6e 67 2d 6c 65 73 73 | 70 20 65 6d 61 63 73 2d |ing-less|p emacs-|
|000001b0| 76 65 72 73 69 6f 6e 20 | 22 31 39 22 29 29 29 0a |version |"19"))).|
|000001c0| 20 20 20 20 28 65 72 72 | 6f 72 20 22 54 68 69 73 | (err|or "This|
|000001d0| 20 66 69 6c 65 20 77 61 | 73 20 63 6f 6d 70 69 6c | file wa|s compil|
|000001e0| 65 64 20 66 6f 72 20 45 | 6d 61 63 73 20 31 39 2e |ed for E|macs 19.|
|000001f0| 22 29 29 0a 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |"))..(by|te-code |
|00000200| 22 c0 c1 21 ac 96 c1 c2 | c3 c4 4e 9e 41 1a c0 5c |"..!....|..N.A..\|
|00000210| 6e 21 ad 82 5c 6e 4b 29 | ae 82 c3 4b 4d 88 c0 87 |n!..\nK)|...KM...|
|00000220| 22 20 5b 66 62 6f 75 6e | 64 70 20 61 64 2d 4f 72 |" [fboun|dp ad-Or|
|00000230| 69 67 2d 61 73 6b 2d 75 | 73 65 72 2d 61 62 6f 75 |ig-ask-u|ser-abou|
|00000240| 74 2d 6c 6f 63 6b 2d 61 | 72 6f 75 6e 64 2d 65 6e |t-lock-a|round-en|
|00000250| 65 72 67 69 7a 65 20 6f | 72 69 67 6e 61 6d 65 20 |ergize o|rigname |
|00000260| 61 73 6b 2d 75 73 65 72 | 2d 61 62 6f 75 74 2d 6c |ask-user|-about-l|
|00000270| 6f 63 6b 20 61 64 2d 61 | 64 76 69 63 65 2d 69 6e |ock ad-a|dvice-in|
|00000280| 66 6f 5d 20 34 29 0a 28 | 66 73 65 74 20 27 61 73 |fo] 4).(|fset 'as|
|00000290| 6b 2d 75 73 65 72 2d 61 | 62 6f 75 74 2d 6c 6f 63 |k-user-a|bout-loc|
|000002a0| 6b 20 23 5b 28 66 6e 20 | 6f 70 70 6f 6e 65 6e 74 |k #[(fn |opponent|
|000002b0| 29 20 22 c0 19 c2 70 21 | ab 84 c3 11 aa 86 c4 0d |) "...p!|........|
|000002c0| 0e 06 5c 22 11 09 29 87 | 22 20 5b 6e 69 6c 20 61 |..\"..).|" [nil a|
|000002d0| 64 2d 72 65 74 75 72 6e | 2d 76 61 6c 75 65 20 65 |d-return|-value e|
|000002e0| 6e 65 72 67 69 7a 65 2d | 62 75 66 66 65 72 2d 70 |nergize-|buffer-p|
|000002f0| 20 74 20 61 64 2d 4f 72 | 69 67 2d 61 73 6b 2d 75 | t ad-Or|ig-ask-u|
|00000300| 73 65 72 2d 61 62 6f 75 | 74 2d 6c 6f 63 6b 2d 61 |ser-abou|t-lock-a|
|00000310| 72 6f 75 6e 64 2d 65 6e | 65 72 67 69 7a 65 20 66 |round-en|ergize f|
|00000320| 6e 20 6f 70 70 6f 6e 65 | 6e 74 5d 20 33 20 22 5c |n oppone|nt] 3 "\|
|00000330| 0a 41 73 6b 20 75 73 65 | 72 20 77 68 61 74 20 74 |.Ask use|r what t|
|00000340| 6f 20 64 6f 20 77 68 65 | 6e 20 68 65 20 77 61 6e |o do whe|n he wan|
|00000350| 74 73 20 74 6f 20 65 64 | 69 74 20 46 49 4c 45 20 |ts to ed|it FILE |
|00000360| 62 75 74 20 69 74 20 69 | 73 20 6c 6f 63 6b 65 64 |but it i|s locked|
|00000370| 20 62 79 20 55 53 45 52 | 2e 0a 54 68 69 73 20 66 | by USER|..This f|
|00000380| 75 6e 63 74 69 6f 6e 20 | 68 61 73 20 61 20 63 68 |unction |has a ch|
|00000390| 6f 69 63 65 20 6f 66 20 | 74 68 72 65 65 20 74 68 |oice of |three th|
|000003a0| 69 6e 67 73 20 74 6f 20 | 64 6f 3a 0a 20 20 64 6f |ings to |do:. do|
|000003b0| 20 28 73 69 67 6e 61 6c | 20 27 62 75 66 66 65 72 | (signal| 'buffer|
|000003c0| 2d 66 69 6c 65 2d 6c 6f | 63 6b 65 64 20 28 6c 69 |-file-lo|cked (li|
|000003d0| 73 74 20 46 49 4c 45 20 | 55 53 45 52 29 29 0a 20 |st FILE |USER)). |
|000003e0| 20 20 20 74 6f 20 72 65 | 66 72 61 69 6e 20 66 72 | to re|frain fr|
|000003f0| 6f 6d 20 65 64 69 74 69 | 6e 67 20 74 68 65 20 66 |om editi|ng the f|
|00000400| 69 6c 65 0a 20 20 72 65 | 74 75 72 6e 20 74 20 28 |ile. re|turn t (|
|00000410| 67 72 61 62 20 74 68 65 | 20 6c 6f 63 6b 20 6f 6e |grab the| lock on|
|00000420| 20 74 68 65 20 66 69 6c | 65 29 0a 20 20 72 65 74 | the fil|e). ret|
|00000430| 75 72 6e 20 6e 69 6c 20 | 28 65 64 69 74 20 74 68 |urn nil |(edit th|
|00000440| 65 20 66 69 6c 65 20 65 | 76 65 6e 20 74 68 6f 75 |e file e|ven thou|
|00000450| 67 68 20 69 74 20 69 73 | 20 6c 6f 63 6b 65 64 29 |gh it is| locked)|
|00000460| 2e 0a 59 6f 75 20 63 61 | 6e 20 72 65 77 72 69 74 |..You ca|n rewrit|
|00000470| 65 20 69 74 20 74 6f 20 | 75 73 65 20 61 6e 79 20 |e it to |use any |
|00000480| 63 72 69 74 65 72 69 6f | 6e 20 79 6f 75 20 6c 69 |criterio|n you li|
|00000490| 6b 65 20 74 6f 20 63 68 | 6f 6f 73 65 20 77 68 69 |ke to ch|oose whi|
|000004a0| 63 68 20 6f 6e 65 20 74 | 6f 20 64 6f 2e 0a 0a 45 |ch one t|o do...E|
|000004b0| 6e 65 72 67 69 7a 65 20 | 62 75 66 66 65 72 73 20 |nergize |buffers |
|000004c0| 64 6f 20 74 68 69 73 20 | 62 79 20 61 73 6b 69 6e |do this |by askin|
|000004d0| 67 20 74 68 65 20 73 65 | 72 76 65 72 2e 22 5d 29 |g the se|rver."])|
|000004e0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 c1 21 |.(byte-c|ode "..!|
|000004f0| ac 96 c1 c2 c3 c4 4e 9e | 41 1a c0 5c 6e 21 ad 82 |......N.|A..\n!..|
|00000500| 5c 6e 4b 29 ae 82 c3 4b | 4d 88 c0 87 22 20 5b 66 |\nK)...K|M..." [f|
|00000510| 62 6f 75 6e 64 70 20 61 | 64 2d 4f 72 69 67 2d 6e |boundp a|d-Orig-n|
|00000520| 6f 72 6d 61 6c 2d 6d 6f | 64 65 2d 61 66 74 65 72 |ormal-mo|de-after|
|00000530| 2d 65 6e 65 72 67 69 7a | 65 20 6f 72 69 67 6e 61 |-energiz|e origna|
|00000540| 6d 65 20 6e 6f 72 6d 61 | 6c 2d 6d 6f 64 65 20 61 |me norma|l-mode a|
|00000550| 64 2d 61 64 76 69 63 65 | 2d 69 6e 66 6f 5d 20 34 |d-advice|-info] 4|
|00000560| 29 0a 28 66 73 65 74 20 | 27 6e 6f 72 6d 61 6c 2d |).(fset |'normal-|
|00000570| 6d 6f 64 65 20 23 5b 28 | 26 6f 70 74 69 6f 6e 61 |mode #[(|&optiona|
|00000580| 6c 20 66 69 6e 64 2d 66 | 69 6c 65 29 20 22 c0 19 |l find-f|ile) "..|
|00000590| c2 0b 21 11 c4 70 21 ab | 88 0d ac 85 0e 06 70 21 |..!..p!.|......p!|
|000005a0| 88 09 29 87 22 20 5b 6e | 69 6c 20 61 64 2d 72 65 |..)." [n|il ad-re|
|000005b0| 74 75 72 6e 2d 76 61 6c | 75 65 20 61 64 2d 4f 72 |turn-val|ue ad-Or|
|000005c0| 69 67 2d 6e 6f 72 6d 61 | 6c 2d 6d 6f 64 65 2d 61 |ig-norma|l-mode-a|
|000005d0| 66 74 65 72 2d 65 6e 65 | 72 67 69 7a 65 20 66 69 |fter-ene|rgize fi|
|000005e0| 6e 64 2d 66 69 6c 65 20 | 65 6e 65 72 67 69 7a 65 |nd-file |energize|
|000005f0| 2d 62 75 66 66 65 72 2d | 70 20 69 6e 73 69 64 65 |-buffer-|p inside|
|00000600| 2d 65 6e 65 72 67 69 7a | 65 2d 62 75 66 66 65 72 |-energiz|e-buffer|
|00000610| 2d 63 72 65 61 74 69 6f | 6e 2d 68 6f 6f 6b 2d 66 |-creatio|n-hook-f|
|00000620| 75 6e 63 74 69 6f 6e 20 | 65 6e 65 72 67 69 7a 65 |unction |energize|
|00000630| 2d 63 72 65 61 74 65 2d | 62 75 66 66 65 72 2d 68 |-create-|buffer-h|
|00000640| 6f 6f 6b 5d 20 32 20 22 | 5c 0a 43 68 6f 6f 73 65 |ook] 2 "|\.Choose|
|00000650| 20 74 68 65 20 6d 61 6a | 6f 72 20 6d 6f 64 65 20 | the maj|or mode |
|00000660| 66 6f 72 20 74 68 69 73 | 20 62 75 66 66 65 72 20 |for this| buffer |
|00000670| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 2e 0a 41 |automati|cally..A|
|00000680| 6c 73 6f 20 73 65 74 73 | 20 75 70 20 61 6e 79 20 |lso sets| up any |
|00000690| 73 70 65 63 69 66 69 65 | 64 20 6c 6f 63 61 6c 20 |specifie|d local |
|000006a0| 76 61 72 69 61 62 6c 65 | 73 20 6f 66 20 74 68 65 |variable|s of the|
|000006b0| 20 66 69 6c 65 2e 0a 55 | 73 65 73 20 74 68 65 20 | file..U|ses the |
|000006c0| 76 69 73 69 74 65 64 20 | 66 69 6c 65 20 6e 61 6d |visited |file nam|
|000006d0| 65 2c 20 74 68 65 20 2d | 2a 2d 20 6c 69 6e 65 2c |e, the -|*- line,|
|000006e0| 20 61 6e 64 20 74 68 65 | 20 6c 6f 63 61 6c 20 76 | and the| local v|
|000006f0| 61 72 69 61 62 6c 65 73 | 20 73 70 65 63 2e 0a 0a |ariables| spec...|
|00000700| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |This fun|ction is|
|00000710| 20 63 61 6c 6c 65 64 20 | 61 75 74 6f 6d 61 74 69 | called |automati|
|00000720| 63 61 6c 6c 79 20 66 72 | 6f 6d 20 60 66 69 6e 64 |cally fr|om `find|
|00000730| 2d 66 69 6c 65 27 2e 20 | 20 49 6e 20 74 68 61 74 |-file'. | In that|
|00000740| 20 63 61 73 65 2c 0a 77 | 65 20 6d 61 79 20 73 65 | case,.w|e may se|
|00000750| 74 20 75 70 20 73 70 65 | 63 69 66 69 65 64 20 6c |t up spe|cified l|
|00000760| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 64 |ocal var|iables d|
|00000770| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 68 65 20 |epending| on the |
|00000780| 76 61 6c 75 65 20 6f 66 | 0a 60 65 6e 61 62 6c 65 |value of|.`enable|
|00000790| 2d 6c 6f 63 61 6c 2d 76 | 61 72 69 61 62 6c 65 73 |-local-v|ariables|
|000007a0| 27 3a 20 69 66 20 69 74 | 20 69 73 20 74 2c 20 77 |': if it| is t, w|
|000007b0| 65 20 64 6f 3b 20 69 66 | 20 69 74 20 69 73 20 6e |e do; if| it is n|
|000007c0| 69 6c 2c 20 77 65 20 64 | 6f 6e 27 74 3b 0a 6f 74 |il, we d|on't;.ot|
|000007d0| 68 65 72 77 69 73 65 2c | 20 77 65 20 71 75 65 72 |herwise,| we quer|
|000007e0| 79 2e 20 20 60 65 6e 61 | 62 6c 65 2d 6c 6f 63 61 |y. `ena|ble-loca|
|000007f0| 6c 2d 76 61 72 69 61 62 | 6c 65 73 27 20 69 73 20 |l-variab|les' is |
|00000800| 69 67 6e 6f 72 65 64 20 | 69 66 20 79 6f 75 0a 72 |ignored |if you.r|
|00000810| 75 6e 20 60 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 27 |un `norm|al-mode'|
|00000820| 20 65 78 70 6c 69 63 69 | 74 6c 79 2e 0a 0a 49 66 | explici|tly...If|
|00000830| 20 74 68 69 73 20 69 73 | 20 61 6e 20 45 6e 65 72 | this is| an Ener|
|00000840| 67 69 7a 65 20 62 75 66 | 66 65 72 2c 20 74 68 65 |gize buf|fer, the|
|00000850| 20 45 6e 65 72 67 69 7a | 65 20 6d 6f 64 65 73 20 | Energiz|e modes |
|00000860| 61 72 65 20 74 75 72 6e | 65 64 20 6f 6e 20 61 73 |are turn|ed on as|
|00000870| 20 77 65 6c 6c 2e 22 20 | 6e 69 6c 5d 29 0a 28 62 | well." |nil]).(b|
|00000880| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 ac 96 c1 |yte-code| "..!...|
|00000890| c2 c3 c4 4e 9e 41 1a c0 | 5c 6e 21 ad 82 5c 6e 4b |...N.A..|\n!..\nK|
|000008a0| 29 ae 82 c3 4b 4d 88 c0 | 87 22 20 5b 66 62 6f 75 |)...KM..|." [fbou|
|000008b0| 6e 64 70 20 61 64 2d 4f | 72 69 67 2d 66 69 6e 64 |ndp ad-O|rig-find|
|000008c0| 2d 66 69 6c 65 2d 6e 6f | 73 65 6c 65 63 74 2d 61 |-file-no|select-a|
|000008d0| 72 6f 75 6e 64 2d 65 6e | 65 72 67 69 7a 65 20 6f |round-en|ergize o|
|000008e0| 72 69 67 6e 61 6d 65 20 | 66 69 6e 64 2d 66 69 6c |rigname |find-fil|
|000008f0| 65 2d 6e 6f 73 65 6c 65 | 63 74 20 61 64 2d 61 64 |e-nosele|ct ad-ad|
|00000900| 76 69 63 65 2d 69 6e 66 | 6f 5d 20 34 29 0a 28 66 |vice-inf|o] 4).(f|
|00000910| 73 65 74 20 27 66 69 6e | 64 2d 66 69 6c 65 2d 6e |set 'fin|d-file-n|
|00000920| 6f 73 65 6c 65 63 74 20 | 23 5b 28 66 69 6c 65 6e |oselect |#[(filen|
|00000930| 61 6d 65 20 26 6f 70 74 | 69 6f 6e 61 6c 20 6e 6f |ame &opt|ional no|
|00000940| 77 61 72 6e 29 20 22 c0 | 19 c2 20 ab 91 c3 0c 21 |warn) ".|.. ....!|
|00000950| ac 8c c5 0c c6 5c 22 ab | 86 c5 0c 21 11 aa 86 c7 |.....\".|...!....|
|00000960| 0c 0e 08 5c 22 11 09 29 | 87 22 20 5b 6e 69 6c 20 |...\"..)|." [nil |
|00000970| 61 64 2d 72 65 74 75 72 | 6e 2d 76 61 6c 75 65 20 |ad-retur|n-value |
|00000980| 63 6f 6e 6e 65 63 74 65 | 64 2d 74 6f 2d 65 6e 65 |connecte|d-to-ene|
|00000990| 72 67 69 7a 65 2d 70 20 | 66 69 6c 65 2d 64 69 72 |rgize-p |file-dir|
|000009a0| 65 63 74 6f 72 79 2d 70 | 20 66 69 6c 65 6e 61 6d |ectory-p| filenam|
|000009b0| 65 20 65 6e 65 72 67 69 | 7a 65 2d 71 75 65 72 79 |e energi|ze-query|
|000009c0| 2d 62 75 66 66 65 72 20 | 74 20 61 64 2d 4f 72 69 |-buffer |t ad-Ori|
|000009d0| 67 2d 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |g-find-f|ile-nose|
|000009e0| 6c 65 63 74 2d 61 72 6f | 75 6e 64 2d 65 6e 65 72 |lect-aro|und-ener|
|000009f0| 67 69 7a 65 20 6e 6f 77 | 61 72 6e 5d 20 33 20 22 |gize now|arn] 3 "|
|00000a00| 5c 0a 52 65 61 64 20 66 | 69 6c 65 20 46 49 4c 45 |\.Read f|ile FILE|
|00000a10| 4e 41 4d 45 20 69 6e 74 | 6f 20 61 20 62 75 66 66 |NAME int|o a buff|
|00000a20| 65 72 20 61 6e 64 20 72 | 65 74 75 72 6e 20 74 68 |er and r|eturn th|
|00000a30| 65 20 62 75 66 66 65 72 | 2e 0a 49 66 20 61 20 62 |e buffer|..If a b|
|00000a40| 75 66 66 65 72 20 65 78 | 69 73 74 73 20 76 69 73 |uffer ex|ists vis|
|00000a50| 69 74 69 6e 67 20 46 49 | 4c 45 4e 41 4d 45 2c 20 |iting FI|LENAME, |
|00000a60| 72 65 74 75 72 6e 20 74 | 68 61 74 20 6f 6e 65 2c |return t|hat one,|
|00000a70| 20 62 75 74 0a 76 65 72 | 69 66 79 20 74 68 61 74 | but.ver|ify that|
|00000a80| 20 74 68 65 20 66 69 6c | 65 20 68 61 73 20 6e 6f | the fil|e has no|
|00000a90| 74 20 63 68 61 6e 67 65 | 64 20 73 69 6e 63 65 20 |t change|d since |
|00000aa0| 76 69 73 69 74 65 64 20 | 6f 72 20 73 61 76 65 64 |visited |or saved|
|00000ab0| 2e 0a 54 68 65 20 62 75 | 66 66 65 72 20 69 73 20 |..The bu|ffer is |
|00000ac0| 6e 6f 74 20 73 65 6c 65 | 63 74 65 64 2c 20 6a 75 |not sele|cted, ju|
|00000ad0| 73 74 20 72 65 74 75 72 | 6e 65 64 20 74 6f 20 74 |st retur|ned to t|
|00000ae0| 68 65 20 63 61 6c 6c 65 | 72 2e 0a 49 66 20 4e 4f |he calle|r..If NO|
|00000af0| 57 41 52 4e 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 20 |WARN is |non-nil |
|00000b00| 77 61 72 6e 69 6e 67 20 | 6d 65 73 73 61 67 65 73 |warning |messages|
|00000b10| 20 61 62 6f 75 74 20 73 | 65 76 65 72 61 6c 20 70 | about s|everal p|
|00000b20| 6f 74 65 6e 74 69 61 6c | 0a 70 72 6f 62 6c 65 6d |otential|.problem|
|00000b30| 73 20 77 69 6c 6c 20 62 | 65 20 73 75 70 70 72 65 |s will b|e suppre|
|00000b40| 73 73 65 64 2e 0a 0a 54 | 68 69 73 20 66 75 6e 63 |ssed...T|his func|
|00000b50| 74 69 6f 6e 20 68 61 73 | 20 62 65 65 6e 20 65 6e |tion has| been en|
|00000b60| 63 61 70 73 75 6c 61 74 | 65 64 20 74 6f 20 77 6f |capsulat|ed to wo|
|00000b70| 72 6b 20 77 69 74 68 20 | 45 6e 65 72 67 69 7a 65 |rk with |Energize|
|00000b80| 2e 22 5d 29 0a 28 62 79 | 74 65 2d 63 6f 64 65 20 |."]).(by|te-code |
|00000b90| 22 c0 c1 21 ac 96 c1 c2 | c3 c4 4e 9e 41 1a c0 5c |"..!....|..N.A..\|
|00000ba0| 6e 21 ad 82 5c 6e 4b 29 | ae 82 c3 4b 4d 88 c0 87 |n!..\nK)|...KM...|
|00000bb0| 22 20 5b 66 62 6f 75 6e | 64 70 20 61 64 2d 4f 72 |" [fboun|dp ad-Or|
|00000bc0| 69 67 2d 77 72 69 74 65 | 2d 66 69 6c 65 2d 61 72 |ig-write|-file-ar|
|00000bd0| 6f 75 6e 64 2d 65 6e 65 | 72 67 69 7a 65 20 6f 72 |ound-ene|rgize or|
|00000be0| 69 67 6e 61 6d 65 20 77 | 72 69 74 65 2d 66 69 6c |igname w|rite-fil|
|00000bf0| 65 20 61 64 2d 61 64 76 | 69 63 65 2d 69 6e 66 6f |e ad-adv|ice-info|
|00000c00| 5d 20 34 29 0a 28 66 73 | 65 74 20 27 77 72 69 74 |] 4).(fs|et 'writ|
|00000c10| 65 2d 66 69 6c 65 20 23 | 5b 28 66 69 6c 65 6e 61 |e-file #|[(filena|
|00000c20| 6d 65 29 20 22 c0 19 c2 | 20 ac 86 c3 0c 21 11 aa |me) "...| ....!..|
|00000c30| b1 0c 1c c5 0c 21 ab 8c | c6 c7 c8 0c 5c 22 21 ac |.....!..|....\"!.|
|00000c40| 84 c9 ca 21 88 cb 65 64 | 0c c0 89 25 88 0e 0c ab |...!..ed|...%....|
|00000c50| 85 cd ce 89 5c 22 88 cf | c0 21 88 d0 d1 20 d2 0c |....\"..|.!... ..|
|00000c60| 21 5c 22 88 29 09 29 87 | 22 20 5b 6e 69 6c 20 61 |!\".).).|" [nil a|
|00000c70| 64 2d 72 65 74 75 72 6e | 2d 76 61 6c 75 65 20 65 |d-return|-value e|
|00000c80| 6e 65 72 67 69 7a 65 2d | 77 72 69 74 65 2d 66 69 |nergize-|write-fi|
|00000c90| 6c 65 2d 62 75 66 66 65 | 72 2d 70 20 61 64 2d 4f |le-buffe|r-p ad-O|
|00000ca0| 72 69 67 2d 77 72 69 74 | 65 2d 66 69 6c 65 2d 61 |rig-writ|e-file-a|
|00000cb0| 72 6f 75 6e 64 2d 65 6e | 65 72 67 69 7a 65 20 66 |round-en|ergize f|
|00000cc0| 69 6c 65 6e 61 6d 65 20 | 66 69 6c 65 2d 65 78 69 |ilename |file-exi|
|00000cd0| 73 74 73 2d 70 20 79 65 | 73 2d 6f 72 2d 6e 6f 2d |sts-p ye|s-or-no-|
|00000ce0| 70 20 66 6f 72 6d 61 74 | 20 22 46 69 6c 65 20 25 |p format| "File %|
|00000cf0| 73 20 61 6c 72 65 61 64 | 79 20 65 78 69 73 74 73 |s alread|y exists|
|00000d00| 2e 20 20 4f 76 65 72 77 | 72 69 74 65 20 69 74 3f |. Overw|rite it?|
|00000d10| 20 22 20 65 72 72 6f 72 | 20 22 41 62 6f 72 74 65 | " error| "Aborte|
|00000d20| 64 22 20 77 72 69 74 65 | 2d 72 65 67 69 6f 6e 20 |d" write|-region |
|00000d30| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name|
|00000d40| 20 72 65 76 65 72 74 2d | 62 75 66 66 65 72 20 74 | revert-|buffer t|
|00000d50| 20 6b 69 6c 6c 2d 62 75 | 66 66 65 72 20 73 65 74 | kill-bu|ffer set|
|00000d60| 2d 77 69 6e 64 6f 77 2d | 62 75 66 66 65 72 20 73 |-window-|buffer s|
|00000d70| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 66 |elected-|window f|
|00000d80| 69 6e 64 2d 66 69 6c 65 | 2d 6e 6f 73 65 6c 65 63 |ind-file|-noselec|
|00000d90| 74 5d 20 36 20 22 5c 0a | 57 72 69 74 65 20 63 75 |t] 6 "\.|Write cu|
|00000da0| 72 72 65 6e 74 20 62 75 | 66 66 65 72 20 69 6e 74 |rrent bu|ffer int|
|00000db0| 6f 20 66 69 6c 65 20 46 | 49 4c 45 4e 41 4d 45 2e |o file F|ILENAME.|
|00000dc0| 0a 4d 61 6b 65 73 20 62 | 75 66 66 65 72 20 76 69 |.Makes b|uffer vi|
|00000dd0| 73 69 74 20 74 68 61 74 | 20 66 69 6c 65 2c 20 61 |sit that| file, a|
|00000de0| 6e 64 20 6d 61 72 6b 73 | 20 69 74 20 6e 6f 74 20 |nd marks| it not |
|00000df0| 6d 6f 64 69 66 69 65 64 | 2e 0a 49 66 20 74 68 65 |modified|..If the|
|00000e00| 20 62 75 66 66 65 72 20 | 69 73 20 61 6c 72 65 61 | buffer |is alrea|
|00000e10| 64 79 20 76 69 73 69 74 | 69 6e 67 20 61 20 66 69 |dy visit|ing a fi|
|00000e20| 6c 65 2c 20 79 6f 75 20 | 63 61 6e 20 73 70 65 63 |le, you |can spec|
|00000e30| 69 66 79 0a 61 20 64 69 | 72 65 63 74 6f 72 79 20 |ify.a di|rectory |
|00000e40| 6e 61 6d 65 20 61 73 20 | 46 49 4c 45 4e 41 4d 45 |name as |FILENAME|
|00000e50| 2c 20 74 6f 20 77 72 69 | 74 65 20 61 20 66 69 6c |, to wri|te a fil|
|00000e60| 65 20 6f 66 20 74 68 65 | 20 73 61 6d 65 0a 6f 6c |e of the| same.ol|
|00000e70| 64 20 6e 61 6d 65 20 69 | 6e 20 74 68 61 74 20 64 |d name i|n that d|
|00000e80| 69 72 65 63 74 6f 72 79 | 2e 0a 0a 57 68 65 6e 20 |irectory|...When |
|00000e90| 65 78 65 63 75 74 65 64 | 20 6f 6e 20 61 6e 20 45 |executed| on an E|
|00000ea0| 6e 65 72 67 69 7a 65 20 | 62 75 66 66 65 72 2c 20 |nergize |buffer, |
|00000eb0| 74 68 69 73 20 77 69 6c | 6c 20 63 61 75 73 65 20 |this wil|l cause |
|00000ec0| 61 6c 6c 20 0a 61 6e 6e | 6f 74 61 74 69 6f 6e 73 |all .ann|otations|
|00000ed0| 20 74 6f 20 62 65 20 6c | 6f 73 74 20 28 74 68 61 | to be l|ost (tha|
|00000ee0| 74 20 69 73 2c 20 74 68 | 65 20 62 75 66 66 65 72 |t is, th|e buffer|
|00000ef0| 20 77 69 6c 6c 20 62 65 | 63 6f 6d 65 20 61 20 0a | will be|come a .|
|00000f00| 6e 6f 72 6d 61 6c 20 62 | 75 66 66 65 72 2c 20 6e |normal b|uffer, n|
|00000f10| 6f 74 20 6f 6e 65 20 74 | 68 61 74 20 74 68 65 20 |ot one t|hat the |
|00000f20| 45 6e 65 72 67 69 7a 65 | 20 73 65 72 76 65 72 20 |Energize| server |
|00000f30| 6b 6e 6f 77 73 20 61 62 | 6f 75 74 2e 29 22 20 28 |knows ab|out.)" (|
|00000f40| 62 79 74 65 2d 63 6f 64 | 65 20 22 08 ab 89 c1 c2 |byte-cod|e ".....|
|00000f50| c3 89 89 89 25 aa 8c c1 | c2 c4 c5 20 9e 41 c3 89 |....%...|... .A..|
|00000f60| c6 20 25 43 87 22 20 5b | 62 75 66 66 65 72 2d 66 |. %C." [|buffer-f|
|00000f70| 69 6c 65 2d 6e 61 6d 65 | 20 72 65 61 64 2d 66 69 |ile-name| read-fi|
|00000f80| 6c 65 2d 6e 61 6d 65 20 | 22 57 72 69 74 65 20 66 |le-name |"Write f|
|00000f90| 69 6c 65 3a 20 22 20 6e | 69 6c 20 64 65 66 61 75 |ile: " n|il defau|
|00000fa0| 6c 74 2d 64 69 72 65 63 | 74 6f 72 79 20 62 75 66 |lt-direc|tory buf|
|00000fb0| 66 65 72 2d 6c 6f 63 61 | 6c 2d 76 61 72 69 61 62 |fer-loca|l-variab|
|00000fc0| 6c 65 73 20 62 75 66 66 | 65 72 2d 6e 61 6d 65 5d |les buff|er-name]|
|00000fd0| 20 36 29 5d 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 | 6)]).(b|yte-code|
|00000fe0| 20 22 c0 c1 21 ac 96 c1 | c2 c3 c4 4e 9e 41 1a c0 | "..!...|...N.A..|
|00000ff0| 5c 6e 21 ad 82 5c 6e 4b | 29 ae 82 c3 4b 4d 88 c0 |\n!..\nK|)...KM..|
|00001000| 87 22 20 5b 66 62 6f 75 | 6e 64 70 20 61 64 2d 4f |." [fbou|ndp ad-O|
|00001010| 72 69 67 2d 73 65 74 2d | 76 69 73 69 74 65 64 2d |rig-set-|visited-|
|00001020| 66 69 6c 65 2d 6e 61 6d | 65 2d 61 72 6f 75 6e 64 |file-nam|e-around|
|00001030| 2d 65 6e 65 72 67 69 7a | 65 20 6f 72 69 67 6e 61 |-energiz|e origna|
|00001040| 6d 65 20 73 65 74 2d 76 | 69 73 69 74 65 64 2d 66 |me set-v|isited-f|
|00001050| 69 6c 65 2d 6e 61 6d 65 | 20 61 64 2d 61 64 76 69 |ile-name| ad-advi|
|00001060| 63 65 2d 69 6e 66 6f 5d | 20 34 29 0a 28 66 73 65 |ce-info]| 4).(fse|
|00001070| 74 20 27 73 65 74 2d 76 | 69 73 69 74 65 64 2d 66 |t 'set-v|isited-f|
|00001080| 69 6c 65 2d 6e 61 6d 65 | 20 23 5b 28 66 69 6c 65 |ile-name| #[(file|
|00001090| 6e 61 6d 65 29 20 22 c0 | 19 c2 20 ab 8b 0b 0c 9a |name) ".|.. .....|
|000010a0| ac 86 c5 c6 21 88 aa 8c | c7 0b 21 11 c8 70 21 ab |....!...|..!..p!.|
|000010b0| 83 c9 20 88 09 29 87 22 | 20 5b 6e 69 6c 20 61 64 |.. ..)."| [nil ad|
|000010c0| 2d 72 65 74 75 72 6e 2d | 76 61 6c 75 65 20 65 6e |-return-|value en|
|000010d0| 65 72 67 69 7a 65 2d 77 | 72 69 74 65 2d 66 69 6c |ergize-w|rite-fil|
|000010e0| 65 2d 62 75 66 66 65 72 | 2d 70 20 66 69 6c 65 6e |e-buffer|-p filen|
|000010f0| 61 6d 65 20 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |ame buff|er-file-|
|00001100| 6e 61 6d 65 20 65 72 72 | 6f 72 20 22 43 61 6e 27 |name err|or "Can'|
|00001110| 74 20 63 68 61 6e 67 65 | 20 74 68 65 20 6e 61 6d |t change| the nam|
|00001120| 65 20 61 73 73 6f 63 69 | 61 74 65 64 20 77 69 74 |e associ|ated wit|
|00001130| 68 20 61 6e 20 45 6e 65 | 72 67 69 7a 65 20 62 75 |h an Ene|rgize bu|
|00001140| 66 66 65 72 2e 22 20 61 | 64 2d 4f 72 69 67 2d 73 |ffer." a|d-Orig-s|
|00001150| 65 74 2d 76 69 73 69 74 | 65 64 2d 66 69 6c 65 2d |et-visit|ed-file-|
|00001160| 6e 61 6d 65 2d 61 72 6f | 75 6e 64 2d 65 6e 65 72 |name-aro|und-ener|
|00001170| 67 69 7a 65 20 65 6e 65 | 72 67 69 7a 65 2d 62 75 |gize ene|rgize-bu|
|00001180| 66 66 65 72 2d 70 20 65 | 6e 65 72 67 69 7a 65 2d |ffer-p e|nergize-|
|00001190| 6d 6f 64 65 2d 69 6e 74 | 65 72 6e 61 6c 5d 20 32 |mode-int|ernal] 2|
|000011a0| 20 22 5c 0a 43 68 61 6e | 67 65 20 6e 61 6d 65 20 | "\.Chan|ge name |
|000011b0| 6f 66 20 66 69 6c 65 20 | 76 69 73 69 74 65 64 20 |of file |visited |
|000011c0| 69 6e 20 63 75 72 72 65 | 6e 74 20 62 75 66 66 65 |in curre|nt buffe|
|000011d0| 72 20 74 6f 20 46 49 4c | 45 4e 41 4d 45 2e 0a 54 |r to FIL|ENAME..T|
|000011e0| 68 65 20 6e 65 78 74 20 | 74 69 6d 65 20 74 68 65 |he next |time the|
|000011f0| 20 62 75 66 66 65 72 20 | 69 73 20 73 61 76 65 64 | buffer |is saved|
|00001200| 20 69 74 20 77 69 6c 6c | 20 67 6f 20 69 6e 20 74 | it will| go in t|
|00001210| 68 65 20 6e 65 77 6c 79 | 20 73 70 65 63 69 66 69 |he newly| specifi|
|00001220| 65 64 20 66 69 6c 65 2e | 0a 6e 69 6c 20 6f 72 20 |ed file.|.nil or |
|00001230| 65 6d 70 74 79 20 73 74 | 72 69 6e 67 20 61 73 20 |empty st|ring as |
|00001240| 61 72 67 75 6d 65 6e 74 | 20 6d 65 61 6e 73 20 6d |argument| means m|
|00001250| 61 6b 65 20 62 75 66 66 | 65 72 20 6e 6f 74 20 62 |ake buff|er not b|
|00001260| 65 20 76 69 73 69 74 69 | 6e 67 20 61 6e 79 20 66 |e visiti|ng any f|
|00001270| 69 6c 65 2e 0a 52 65 6d | 65 6d 62 65 72 20 74 6f |ile..Rem|ember to|
|00001280| 20 64 65 6c 65 74 65 20 | 74 68 65 20 69 6e 69 74 | delete |the init|
|00001290| 69 61 6c 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |ial cont|ents of |
|000012a0| 74 68 65 20 6d 69 6e 69 | 62 75 66 66 65 72 0a 69 |the mini|buffer.i|
|000012b0| 66 20 79 6f 75 20 77 69 | 73 68 20 74 6f 20 70 61 |f you wi|sh to pa|
|000012c0| 73 73 20 61 6e 20 65 6d | 70 74 79 20 73 74 72 69 |ss an em|pty stri|
|000012d0| 6e 67 20 61 73 20 74 68 | 65 20 61 72 67 75 6d 65 |ng as th|e argume|
|000012e0| 6e 74 2e 0a 0a 54 68 65 | 20 66 69 6c 65 20 6e 61 |nt...The| file na|
|000012f0| 6d 65 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |me assoc|iated wi|
|00001300| 74 68 20 61 6e 20 45 6e | 65 72 67 69 7a 65 20 62 |th an En|ergize b|
|00001310| 75 66 66 65 72 20 63 61 | 6e 6e 6f 74 20 62 65 20 |uffer ca|nnot be |
|00001320| 63 68 61 6e 67 65 64 20 | 69 6e 20 74 68 69 73 77 |changed |in thisw|
|00001330| 61 79 2e 0a 55 73 65 20 | 74 68 65 20 60 77 72 69 |ay..Use |the `wri|
|00001340| 74 65 2d 66 69 6c 65 27 | 20 63 6f 6d 6d 61 6e 64 |te-file'| command|
|00001350| 20 69 6e 73 74 65 61 64 | 2e 22 20 22 46 53 65 74 | instead|." "FSet|
|00001360| 20 76 69 73 69 74 65 64 | 20 66 69 6c 65 20 6e 61 | visited| file na|
|00001370| 6d 65 3a 20 22 5d 29 0a | 28 62 79 74 65 2d 63 6f |me: "]).|(byte-co|
|00001380| 64 65 20 22 c0 c1 21 ac | 96 c1 c2 c3 c4 4e 9e 41 |de "..!.|.....N.A|
|00001390| 1a c0 5c 6e 21 ad 82 5c | 6e 4b 29 ae 82 c3 4b 4d |..\n!..\|nK)...KM|
|000013a0| 88 c0 87 22 20 5b 66 62 | 6f 75 6e 64 70 20 61 64 |..." [fb|oundp ad|
|000013b0| 2d 4f 72 69 67 2d 6e 65 | 78 74 2d 65 72 72 6f 72 |-Orig-ne|xt-error|
|000013c0| 2d 61 72 6f 75 6e 64 2d | 65 6e 65 72 67 69 7a 65 |-around-|energize|
|000013d0| 20 6f 72 69 67 6e 61 6d | 65 20 6e 65 78 74 2d 65 | orignam|e next-e|
|000013e0| 72 72 6f 72 20 61 64 2d | 61 64 76 69 63 65 2d 69 |rror ad-|advice-i|
|000013f0| 6e 66 6f 5d 20 34 29 0a | 28 66 73 65 74 20 27 6e |nfo] 4).|(fset 'n|
|00001400| 65 78 74 2d 65 72 72 6f | 72 20 23 5b 28 26 6f 70 |ext-erro|r #[(&op|
|00001410| 74 69 6f 6e 61 6c 20 61 | 72 67 70 29 20 22 c0 19 |tional a|rgp) "..|
|00001420| c2 20 ab 84 c3 20 ab 86 | c4 0d 21 11 aa 8a c6 0d |. ... ..|..!.....|
|00001430| ab 83 c7 aa 81 c8 21 88 | 09 29 87 22 20 5b 6e 69 |......!.|.)." [ni|
|00001440| 6c 20 61 64 2d 72 65 74 | 75 72 6e 2d 76 61 6c 75 |l ad-ret|urn-valu|
|00001450| 65 20 63 6f 6e 6e 65 63 | 74 65 64 2d 74 6f 2d 65 |e connec|ted-to-e|
|00001460| 6e 65 72 67 69 7a 65 2d | 70 20 6e 6f 6e 2d 65 6e |nergize-|p non-en|
|00001470| 65 72 67 69 7a 65 2d 65 | 72 72 6f 72 73 2d 65 78 |ergize-e|rrors-ex|
|00001480| 69 73 74 2d 70 20 61 64 | 2d 4f 72 69 67 2d 6e 65 |ist-p ad|-Orig-ne|
|00001490| 78 74 2d 65 72 72 6f 72 | 2d 61 72 6f 75 6e 64 2d |xt-error|-around-|
|000014a0| 65 6e 65 72 67 69 7a 65 | 20 61 72 67 70 20 65 6e |energize| argp en|
|000014b0| 65 72 67 69 7a 65 2d 65 | 78 65 63 75 74 65 2d 63 |ergize-e|xecute-c|
|000014c0| 6f 6d 6d 61 6e 64 20 22 | 70 72 65 76 69 6f 75 73 |ommand "|previous|
|000014d0| 65 72 72 6f 72 22 20 22 | 6e 65 78 74 65 72 72 6f |error" "|nexterro|
|000014e0| 72 22 5d 20 32 20 22 5c | 0a 56 69 73 69 74 20 6e |r"] 2 "\|.Visit n|
|000014f0| 65 78 74 20 63 6f 6d 70 | 69 6c 61 74 69 6f 6e 20 |ext comp|ilation |
|00001500| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 20 61 6e |error me|ssage an|
|00001510| 64 20 63 6f 72 72 65 73 | 70 6f 6e 64 69 6e 67 20 |d corres|ponding |
|00001520| 73 6f 75 72 63 65 20 63 | 6f 64 65 2e 0a 54 68 69 |source c|ode..Thi|
|00001530| 73 20 6f 70 65 72 61 74 | 65 73 20 6f 6e 20 74 68 |s operat|es on th|
|00001540| 65 20 6f 75 74 70 75 74 | 20 66 72 6f 6d 20 74 68 |e output| from th|
|00001550| 65 20 5c 5c 5b 63 6f 6d | 70 69 6c 65 5d 20 63 6f |e \\[com|pile] co|
|00001560| 6d 6d 61 6e 64 2e 0a 49 | 66 20 61 6c 6c 20 70 72 |mmand..I|f all pr|
|00001570| 65 70 61 72 73 65 64 20 | 65 72 72 6f 72 20 6d 65 |eparsed |error me|
|00001580| 73 73 61 67 65 73 20 68 | 61 76 65 20 62 65 65 6e |ssages h|ave been|
|00001590| 20 70 72 6f 63 65 73 73 | 65 64 2c 0a 74 68 65 20 | process|ed,.the |
|000015a0| 65 72 72 6f 72 20 6d 65 | 73 73 61 67 65 20 62 75 |error me|ssage bu|
|000015b0| 66 66 65 72 20 69 73 20 | 63 68 65 63 6b 65 64 20 |ffer is |checked |
|000015c0| 66 6f 72 20 6e 65 77 20 | 6f 6e 65 73 2e 0a 0a 41 |for new |ones...A|
|000015d0| 20 70 72 65 66 69 78 20 | 61 72 67 20 73 70 65 63 | prefix |arg spec|
|000015e0| 69 66 69 65 73 20 68 6f | 77 20 6d 61 6e 79 20 65 |ifies ho|w many e|
|000015f0| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 73 20 74 6f |rror mes|sages to|
|00001600| 20 6d 6f 76 65 3b 0a 6e | 65 67 61 74 69 76 65 20 | move;.n|egative |
|00001610| 6d 65 61 6e 73 20 6d 6f | 76 65 20 62 61 63 6b 20 |means mo|ve back |
|00001620| 74 6f 20 70 72 65 76 69 | 6f 75 73 20 65 72 72 6f |to previ|ous erro|
|00001630| 72 20 6d 65 73 73 61 67 | 65 73 2e 0a 4a 75 73 74 |r messag|es..Just|
|00001640| 20 43 2d 75 20 61 73 20 | 61 20 70 72 65 66 69 78 | C-u as |a prefix|
|00001650| 20 6d 65 61 6e 73 20 72 | 65 70 61 72 73 65 20 74 | means r|eparse t|
|00001660| 68 65 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |he error| message|
|00001670| 20 62 75 66 66 65 72 0a | 61 6e 64 20 73 74 61 72 | buffer.|and star|
|00001680| 74 20 61 74 20 74 68 65 | 20 66 69 72 73 74 20 65 |t at the| first e|
|00001690| 72 72 6f 72 2e 0a 0a 5c | 5c 5b 6e 65 78 74 2d 65 |rror...\|\[next-e|
|000016a0| 72 72 6f 72 5d 20 6e 6f | 72 6d 61 6c 6c 79 20 61 |rror] no|rmally a|
|000016b0| 70 70 6c 69 65 73 20 74 | 6f 20 74 68 65 20 6d 6f |pplies t|o the mo|
|000016c0| 73 74 20 72 65 63 65 6e | 74 20 63 6f 6d 70 69 6c |st recen|t compil|
|000016d0| 61 74 69 6f 6e 20 73 74 | 61 72 74 65 64 2c 0a 62 |ation st|arted,.b|
|000016e0| 75 74 20 61 73 20 6c 6f | 6e 67 20 61 73 20 79 6f |ut as lo|ng as yo|
|000016f0| 75 20 61 72 65 20 69 6e | 20 74 68 65 20 6d 69 64 |u are in| the mid|
|00001700| 64 6c 65 20 6f 66 20 70 | 61 72 73 69 6e 67 20 65 |dle of p|arsing e|
|00001710| 72 72 6f 72 73 20 66 72 | 6f 6d 20 6f 6e 65 20 63 |rrors fr|om one c|
|00001720| 6f 6d 70 69 6c 61 74 69 | 6f 6e 0a 6f 75 74 70 75 |ompilati|on.outpu|
|00001730| 74 20 62 75 66 66 65 72 | 2c 20 79 6f 75 20 73 74 |t buffer|, you st|
|00001740| 61 79 20 77 69 74 68 20 | 74 68 61 74 20 63 6f 6d |ay with |that com|
|00001750| 70 69 6c 61 74 69 6f 6e | 20 6f 75 74 70 75 74 20 |pilation| output |
|00001760| 62 75 66 66 65 72 2e 0a | 0a 55 73 65 20 5c 5c 5b |buffer..|.Use \\[|
|00001770| 6e 65 78 74 2d 65 72 72 | 6f 72 5d 20 69 6e 20 61 |next-err|or] in a|
|00001780| 20 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 20 6f 75 74 | compila|tion out|
|00001790| 70 75 74 20 62 75 66 66 | 65 72 20 74 6f 20 73 77 |put buff|er to sw|
|000017a0| 69 74 63 68 20 74 6f 0a | 70 72 6f 63 65 73 73 69 |itch to.|processi|
|000017b0| 6e 67 20 65 72 72 6f 72 | 73 20 66 72 6f 6d 20 74 |ng error|s from t|
|000017c0| 68 61 74 20 63 6f 6d 70 | 69 6c 61 74 69 6f 6e 2e |hat comp|ilation.|
|000017d0| 0a 0a 53 65 65 20 76 61 | 72 69 61 62 6c 65 73 20 |..See va|riables |
|000017e0| 60 63 6f 6d 70 69 6c 61 | 74 69 6f 6e 2d 70 61 72 |`compila|tion-par|
|000017f0| 73 65 2d 65 72 72 6f 72 | 73 2d 66 75 6e 63 74 69 |se-error|s-functi|
|00001800| 6f 6e 27 20 61 6e 64 0a | 60 63 6f 6d 70 69 6c 61 |on' and.|`compila|
|00001810| 74 69 6f 6e 2d 65 72 72 | 6f 72 2d 72 65 67 65 78 |tion-err|or-regex|
|00001820| 70 2d 61 6c 69 73 74 27 | 20 66 6f 72 20 63 75 73 |p-alist'| for cus|
|00001830| 74 6f 6d 69 7a 61 74 69 | 6f 6e 20 69 64 65 61 73 |tomizati|on ideas|
|00001840| 2e 0a 0a 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |...This |function|
|00001850| 20 68 61 73 20 62 65 65 | 6e 20 65 6e 63 61 70 73 | has bee|n encaps|
|00001860| 75 6c 61 74 65 64 20 74 | 6f 20 77 6f 72 6b 20 77 |ulated t|o work w|
|00001870| 69 74 68 20 74 68 65 20 | 45 6e 65 72 67 69 7a 65 |ith the |Energize|
|00001880| 20 45 72 72 6f 72 20 4c | 6f 67 2e 22 20 22 50 22 | Error L|og." "P"|
|00001890| 5d 29 0a 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |]).(byte|-code ".|
|000018a0| c1 21 ac 96 c1 c2 c3 c4 | 4e 9e 41 1a c0 5c 6e 21 |.!......|N.A..\n!|
|000018b0| ad 82 5c 6e 4b 29 ae 82 | c3 4b 4d 88 c0 87 22 20 |..\nK)..|.KM..." |
|000018c0| 5b 66 62 6f 75 6e 64 70 | 20 61 64 2d 4f 72 69 67 |[fboundp| ad-Orig|
|000018d0| 2d 67 64 62 2d 62 72 65 | 61 6b 2d 61 72 6f 75 6e |-gdb-bre|ak-aroun|
|000018e0| 64 2d 65 6e 65 72 67 69 | 7a 65 20 6f 72 69 67 6e |d-energi|ze orign|
|000018f0| 61 6d 65 20 67 64 62 2d | 62 72 65 61 6b 20 61 64 |ame gdb-|break ad|
|00001900| 2d 61 64 76 69 63 65 2d | 69 6e 66 6f 5d 20 34 29 |-advice-|info] 4)|
|00001910| 0a 28 66 73 65 74 20 27 | 67 64 62 2d 62 72 65 61 |.(fset '|gdb-brea|
|00001920| 6b 20 23 5b 28 74 65 6d | 70 29 20 22 c0 19 c2 70 |k #[(tem|p) "...p|
|00001930| 21 ac 86 c3 0c 21 11 aa | 84 c5 c6 21 88 09 29 87 |!....!..|...!..).|
|00001940| 22 20 5b 6e 69 6c 20 61 | 64 2d 72 65 74 75 72 6e |" [nil a|d-return|
|00001950| 2d 76 61 6c 75 65 20 65 | 6e 65 72 67 69 7a 65 2d |-value e|nergize-|
|00001960| 62 75 66 66 65 72 2d 70 | 20 61 64 2d 4f 72 69 67 |buffer-p| ad-Orig|
|00001970| 2d 67 64 62 2d 62 72 65 | 61 6b 2d 61 72 6f 75 6e |-gdb-bre|ak-aroun|
|00001980| 64 2d 65 6e 65 72 67 69 | 7a 65 20 74 65 6d 70 20 |d-energi|ze temp |
|00001990| 65 6e 65 72 67 69 7a 65 | 2d 65 78 65 63 75 74 65 |energize|-execute|
|000019a0| 2d 63 6f 6d 6d 61 6e 64 | 20 22 73 65 74 62 72 65 |-command| "setbre|
|000019b0| 61 6b 70 6f 69 6e 74 22 | 5d 20 32 20 22 5c 0a 53 |akpoint"|] 2 "\.S|
|000019c0| 65 74 20 47 44 42 20 62 | 72 65 61 6b 70 6f 69 6e |et GDB b|reakpoin|
|000019d0| 74 20 61 74 20 74 68 69 | 73 20 73 6f 75 72 63 65 |t at thi|s source|
|000019e0| 20 6c 69 6e 65 2e 20 20 | 57 69 74 68 20 41 52 47 | line. |With ARG|
|000019f0| 20 73 65 74 20 74 65 6d | 70 6f 72 61 72 79 20 62 | set tem|porary b|
|00001a00| 72 65 61 6b 70 6f 69 6e | 74 2e 0a 0a 54 68 69 73 |reakpoin|t...This|
|00001a10| 20 66 75 6e 63 74 69 6f | 6e 20 68 61 73 20 62 65 | functio|n has be|
|00001a20| 65 6e 20 65 6e 63 61 70 | 73 75 6c 61 74 65 64 20 |en encap|sulated |
|00001a30| 74 6f 20 77 6f 72 6b 20 | 77 69 74 68 20 74 68 65 |to work |with the|
|00001a40| 20 45 6e 65 72 67 69 7a | 65 20 64 65 62 75 67 67 | Energiz|e debugg|
|00001a50| 65 72 2e 22 20 22 50 22 | 5d 29 0a 28 62 79 74 65 |er." "P"|]).(byte|
|00001a60| 2d 63 6f 64 65 20 22 c0 | c1 21 ac 96 c1 c2 c3 c4 |-code ".|.!......|
|00001a70| 4e 9e 41 1a c0 5c 6e 21 | ad 82 5c 6e 4b 29 ae 82 |N.A..\n!|..\nK)..|
|00001a80| c3 4b 4d 88 c0 87 22 20 | 5b 66 62 6f 75 6e 64 70 |.KM..." |[fboundp|
|00001a90| 20 61 64 2d 4f 72 69 67 | 2d 67 64 62 2d 73 74 65 | ad-Orig|-gdb-ste|
|00001aa0| 70 2d 61 72 6f 75 6e 64 | 2d 65 6e 65 72 67 69 7a |p-around|-energiz|
|00001ab0| 65 20 6f 72 69 67 6e 61 | 6d 65 20 67 64 62 2d 73 |e origna|me gdb-s|
|00001ac0| 74 65 70 20 61 64 2d 61 | 64 76 69 63 65 2d 69 6e |tep ad-a|dvice-in|
|00001ad0| 66 6f 5d 20 34 29 0a 28 | 66 73 65 74 20 27 67 64 |fo] 4).(|fset 'gd|
|00001ae0| 62 2d 73 74 65 70 20 23 | 5b 28 61 72 67 29 20 22 |b-step #|[(arg) "|
|00001af0| c0 19 c2 70 21 ac 86 c3 | 0c 21 11 aa 92 0c 89 1c |...p!...|.!......|
|00001b00| c5 56 ab 8a c6 c7 21 88 | 0c 53 89 14 aa 72 29 09 |.V....!.|.S...r).|
|00001b10| 29 87 22 20 5b 6e 69 6c | 20 61 64 2d 72 65 74 75 |)." [nil| ad-retu|
|00001b20| 72 6e 2d 76 61 6c 75 65 | 20 65 6e 65 72 67 69 7a |rn-value| energiz|
|00001b30| 65 2d 62 75 66 66 65 72 | 2d 70 20 61 64 2d 4f 72 |e-buffer|-p ad-Or|
|00001b40| 69 67 2d 67 64 62 2d 73 | 74 65 70 2d 61 72 6f 75 |ig-gdb-s|tep-arou|
|00001b50| 6e 64 2d 65 6e 65 72 67 | 69 7a 65 20 61 72 67 20 |nd-energ|ize arg |
|00001b60| 30 20 65 6e 65 72 67 69 | 7a 65 2d 65 78 65 63 75 |0 energi|ze-execu|
|00001b70| 74 65 2d 63 6f 6d 6d 61 | 6e 64 20 22 73 74 65 70 |te-comma|nd "step|
|00001b80| 6f 6e 63 65 22 5d 20 33 | 20 22 5c 0a 53 74 65 70 |once"] 3| "\.Step|
|00001b90| 20 6f 6e 65 20 73 6f 75 | 72 63 65 20 6c 69 6e 65 | one sou|rce line|
|00001ba0| 20 77 69 74 68 20 64 69 | 73 70 6c 61 79 0a 0a 54 | with di|splay..T|
|00001bb0| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 68 61 73 |his func|tion has|
|00001bc0| 20 62 65 65 6e 20 65 6e | 63 61 70 73 75 6c 61 74 | been en|capsulat|
|00001bd0| 65 64 20 74 6f 20 77 6f | 72 6b 20 77 69 74 68 20 |ed to wo|rk with |
|00001be0| 74 68 65 20 45 6e 65 72 | 67 69 7a 65 20 64 65 62 |the Ener|gize deb|
|00001bf0| 75 67 67 65 72 2e 22 20 | 22 70 22 5d 29 0a 28 62 |ugger." |"p"]).(b|
|00001c00| 79 74 65 2d 63 6f 64 65 | 20 22 c0 c1 21 ac 96 c1 |yte-code| "..!...|
|00001c10| c2 c3 c4 4e 9e 41 1a c0 | 5c 6e 21 ad 82 5c 6e 4b |...N.A..|\n!..\nK|
|00001c20| 29 ae 82 c3 4b 4d 88 c0 | 87 22 20 5b 66 62 6f 75 |)...KM..|." [fbou|
|00001c30| 6e 64 70 20 61 64 2d 4f | 72 69 67 2d 67 64 62 2d |ndp ad-O|rig-gdb-|
|00001c40| 73 74 65 70 69 2d 61 72 | 6f 75 6e 64 2d 65 6e 65 |stepi-ar|ound-ene|
|00001c50| 72 67 69 7a 65 20 6f 72 | 69 67 6e 61 6d 65 20 67 |rgize or|igname g|
|00001c60| 64 62 2d 73 74 65 70 69 | 20 61 64 2d 61 64 76 69 |db-stepi| ad-advi|
|00001c70| 63 65 2d 69 6e 66 6f 5d | 20 34 29 0a 28 66 73 65 |ce-info]| 4).(fse|
|00001c80| 74 20 27 67 64 62 2d 73 | 74 65 70 69 20 23 5b 28 |t 'gdb-s|tepi #[(|
|00001c90| 61 72 67 29 20 22 c0 19 | c2 70 21 ac 86 c3 0c 21 |arg) "..|.p!....!|
|00001ca0| 11 aa 93 0c 1c 8a c5 71 | 88 64 62 88 c6 c7 0c 5c |.......q|.db....\|
|00001cb0| 22 63 88 c8 20 88 2a 09 | 29 87 22 20 5b 6e 69 6c |"c.. .*.|)." [nil|
|00001cc0| 20 61 64 2d 72 65 74 75 | 72 6e 2d 76 61 6c 75 65 | ad-retu|rn-value|
|00001cd0| 20 65 6e 65 72 67 69 7a | 65 2d 62 75 66 66 65 72 | energiz|e-buffer|
|00001ce0| 2d 70 20 61 64 2d 4f 72 | 69 67 2d 67 64 62 2d 73 |-p ad-Or|ig-gdb-s|
|00001cf0| 74 65 70 69 2d 61 72 6f | 75 6e 64 2d 65 6e 65 72 |tepi-aro|und-ener|
|00001d00| 67 69 7a 65 20 61 72 67 | 20 22 2a 44 65 62 75 67 |gize arg| "*Debug|
|00001d10| 67 65 72 2a 22 20 66 6f | 72 6d 61 74 20 22 73 74 |ger*" fo|rmat "st|
|00001d20| 65 70 69 20 25 64 22 20 | 63 6f 6d 69 6e 74 2d 73 |epi %d" |comint-s|
|00001d30| 65 6e 64 2d 69 6e 70 75 | 74 5d 20 33 20 22 5c 0a |end-inpu|t] 3 "\.|
|00001d40| 53 74 65 70 20 6f 6e 65 | 20 69 6e 73 74 72 75 63 |Step one| instruc|
|00001d50| 74 69 6f 6e 20 77 69 74 | 68 20 64 69 73 70 6c 61 |tion wit|h displa|
|00001d60| 79 0a 0a 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |y..This |function|
|00001d70| 20 68 61 73 20 62 65 65 | 6e 20 65 6e 63 61 70 73 | has bee|n encaps|
|00001d80| 75 6c 61 74 65 64 20 74 | 6f 20 77 6f 72 6b 20 77 |ulated t|o work w|
|00001d90| 69 74 68 20 74 68 65 20 | 45 6e 65 72 67 69 7a 65 |ith the |Energize|
|00001da0| 20 64 65 62 75 67 67 65 | 72 2e 22 20 22 70 22 5d | debugge|r." "p"]|
|00001db0| 29 0a | |). | |
+--------+-------------------------+-------------------------+--------+--------+